package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.CompanyPictureDao;
import com.bootdo.system.domain.CompanyPictureDO;
import com.bootdo.system.service.CompanyPictureService;



@Service
public class CompanyPictureServiceImpl implements CompanyPictureService {
	@Autowired
	private CompanyPictureDao companyPictureDao;
	
	@Override
	public List<CompanyPictureDO> get(Integer id){
		return companyPictureDao.get(id);
	}
	
	@Override
	public List<CompanyPictureDO> list(Map<String, Object> map){
		return companyPictureDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return companyPictureDao.count(map);
	}
	
	@Override
	public int save(CompanyPictureDO companyPicture){
		return companyPictureDao.save(companyPicture);
	}
	
	@Override
	public int update(CompanyPictureDO companyPicture){
		return companyPictureDao.update(companyPicture);
	}
	
	@Override
	public int remove(Integer id){
		return companyPictureDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return companyPictureDao.batchRemove(ids);
	}

	@Override
	public int removeByid(Integer id) {
		// TODO Auto-generated method stub
		return companyPictureDao.removeByid(id);
	}
	
}
